let rules =  {
  loginForm: {
    userName: [
      { required: true, message: '请输入用户名', trigger: 'blur' },
    ],
    passWord: [
      { required: true, message: '请输入密码', trigger: 'blur' },
    ],
  },
  userForm: {
    userName: [{ required: true, message: '请输入用户名', trigger: 'blur' },],
    phone: [{ required: true, message: '请输入电话', trigger: 'blur' },],
    role: [{ required: true, message: '请选择角色', trigger: 'change' },],
  },
  departmentFrom: {
    deptName: [{ required: true, message: '请选择学院', trigger: 'blur' },],
    leader: [{ required: true, message: '请输入专业名称', trigger: 'blur' },],
  },
  staffForm: {
    name: [{ required: true, message: '请输入姓名', trigger: 'blur' },],
    age: [{ required: true, message: '请输入年龄', trigger: 'blur' },],
    sex: [{ required: true, message: '请输入性别', trigger: 'blur' },],
    code: [{ required: true, message: '请输入编号', trigger: 'blur' },],
    departmentId: [{ required: true, message: '请选择部门名称', trigger: 'change' },],
    positionId: [{ required: true, message: '请选择部门名称', trigger: 'change' },],
  },
  postForm: {
    positionName: [{ required: true, message: '请输入职位名称', trigger: 'blur' },],
    positionSalary: [{ required: true, message: '请输入职位工资', trigger: 'blur' },],
  },
  recruitInfoForm: {
    positionName: [{ required: true, message: '请输入职位名称', trigger: 'blur' },],
    positionSalary: [{ required: true, message: '请输入职位工资', trigger: 'blur' },],
    num: [{ required: true, message: '请输入职位数量', trigger: 'blur' },],
    requires: [{ required: true, message: '请输入职位要求', trigger: 'blur' },],
  },
  resumeForm: {
    name: [{ required: true, message: '请输入学院名称', trigger: 'blur' },],
    workExperience: [{ required: true, message: '请输入工作经验', trigger: 'blur' },],
    skill: [{ required: true, message: '请输入使用的工作技能', trigger: 'blur' },]
  }
}

export default rules